package cn.iocoder.yudao.module.train.controller.admin.trade.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 交易 Response VO")
@Data
@ExcelIgnoreUnannotated
public class TradeRespVO {

    @Schema(description = "交易ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "24572")
    @ExcelProperty("交易ID")
    private Long id;

    @Schema(description = "交易编号")
    @ExcelProperty("交易编号")
    private String tradeSn;

    @Schema(description = "微信用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1613")
    @ExcelProperty("微信用户ID")
    private Long wxUserId;

    @Schema(description = "支付金额")
    @ExcelProperty("支付金额")
    private BigDecimal payAmount;

    @Schema(description = "订单状态（0待支付/1已支付/2退款中/3部分退款/4全部退款/5已关闭）", example = "1")
    @ExcelProperty("订单状态（0待支付/1已支付/2退款中/3部分退款/4全部退款/5已关闭）")
    private Integer status;

    @Schema(description = "三方交易单号")
    @ExcelProperty("三方交易单号")
    private String tradeNo;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
